package cn.hx.mall_goods.entity;

import java.time.LocalTime;
import java.util.Date;
import java.io.Serializable;


/**
 * 限时购场次表(PromotionSession)实体类
 *
 * @author liufeng
 * @since 2022-12-01 11:22:04
 */

public class PromotionSession implements Serializable {
    private static final long serialVersionUID = 511110175585720163L;
    /**
     * 编号
     */
    private Long id;
    /**
     * 场次名称
     */
    private String name;
    /**
     * 每日开始时间
     */
    private LocalTime startTime;
    /**
     * 每日结束时间
     */
    private LocalTime endTime;
    /**
     * 启用状态：0->不启用；1->启用
     */
    private Integer status;
    /**
     * 创建时间
     */
    private Date createTime;

    @Override
    public String toString() {
        return "PromotionSession{" +
                "id=" + id + "," +
                "name=" + name + "," +
                "startTime=" + startTime + "," +
                "endTime=" + endTime + "," +
                "status=" + status + "," +
                "createTime=" + createTime +
                "}";
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public LocalTime getStartTime() {
        return startTime;
    }

    public void setStartTime(LocalTime startTime) {
        this.startTime = startTime;
    }

    public LocalTime getEndTime() {
        return endTime;
    }

    public void setEndTime(LocalTime endTime) {
        this.endTime = endTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public PromotionSession() {
    }

    public PromotionSession(Long id, String name, LocalTime startTime, LocalTime endTime, Integer status, Date createTime) {
        this.id = id;
        this.name = name;
        this.startTime = startTime;
        this.endTime = endTime;
        this.status = status;
        this.createTime = createTime;
    }
}

